home *** CD-ROM | disk | FTP | other *** search
- from PSPApp import *
-
- def ScriptProperties():
- return {
- 'Author': u'Corel Corporation',
- 'Copyright': u'Copyright (c) 2004 Corel Corporation All rights reserved.',
- 'Description': u'',
- 'Host': u'Paint Shop Pro 9',
- 'Host Version': u'9.00'
- }
-
- def Preset_AutoSmallScratchRemoval():
- return {
- 'LowerContrastLimit': 0,
- 'RemoveDarkScratches': True,
- 'RemoveLightScratches': False,
- 'Strength': App.Constants.ScratchRemovalStrength.Aggressive,
- 'UpperContrastLimit': 50,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Default,
- 'DialogPlacement': {
- 'ShowMaximized': False,
- 'Rect': ((0,0), 0, 0)
- },
- 'PreviewVisible': True,
- 'AutoProof': False,
- 'AutoActionMode': App.Constants.AutoActionMode.Match
- }
- }
-
- def Do(Environment):
- # Auto Small Scratch Removal
- App.Do( Environment, 'AutoSmallScratchRemoval', Preset_AutoSmallScratchRemoval())
-
-